package com.tjetc.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: itda
 * @Date: 2024/5/9 11:19
 * @Description: 订单
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    /**
     * 订单id
     */
    private Long id;
    /**
     * 房间id
     */
    private Long roomId;
    /**
     * 顾客id
     */
    private Long guestId;
    /**
     * 入住日期
     */
    private LocalDateTime checkInDate;
    /**
     * 退房日期
     */
    private LocalDateTime checkOutDate;
    /**
     * 总价
     */
    private Double totalPrice;
    /**
     * 订单状态
     */
    private String status;
}
